<!doctype html>
<html class="no-js" lang="en">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
    <title>Builder</title>
<link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../../../";</script>
    <script>document.documentElement.classList.replace("no-js", "js");</script>
    <script>const storage = localStorage.getItem("dokka-dark-mode")
      if (storage == null) {
        const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
        if (osDarkSchemePreferred === true) {
          document.getElementsByTagName("html")[0].classList.add("theme-dark")
        }
      } else {
        const savedDarkMode = JSON.parse(storage)
        if (savedDarkMode === true) {
          document.getElementsByTagName("html")[0].classList.add("theme-dark")
        }
      }
    </script>
<script type="text/javascript" src="https://unpkg.com/kotlin-playground@1/dist/playground.min.js" async></script>
<script type="text/javascript" src="../../../../scripts/sourceset_dependencies.js" async></script>
<link href="../../../../styles/style.css" rel="Stylesheet">
<link href="../../../../styles/main.css" rel="Stylesheet">
<link href="../../../../styles/prism.css" rel="Stylesheet">
<link href="../../../../styles/logo-styles.css" rel="Stylesheet">
<link href="../../../../ui-kit/ui-kit.min.css" rel="Stylesheet">
<script type="text/javascript" src="../../../../scripts/safe-local-storage_blocking.js"></script>
<script type="text/javascript" src="../../../../scripts/navigation-loader.js" async></script>
<script type="text/javascript" src="../../../../scripts/platform-content-handler.js" async></script>
<script type="text/javascript" src="../../../../scripts/main.js" defer></script>
<script type="text/javascript" src="../../../../scripts/prism.js" async></script>
<script type="text/javascript" src="../../../../ui-kit/ui-kit.min.js" defer></script></head>
<body>
<div class="root">
    <header class="navigation theme-dark" id="navigation-wrapper" role="banner">
<a class="library-name--link" href="../../../../index.html" tabindex="1">
                    stripe-android
            </a>        <button class="navigation-controls--btn navigation-controls--btn_toc ui-kit_mobile-only" id="toc-toggle" type="button">Toggle table of contents
        </button>
        <div class="navigation-controls--break ui-kit_mobile-only"></div>
        <div class="library-version" id="library-version">
        </div>
        <div class="navigation-controls">
        <ul class="filter-section filter-section_loading" id="filter-section" aria-label="Target filter">
                <button class="platform-tag platform-selector jvm-like" data-active="" aria-pressed="true" data-filter=":payments-core/main">androidJvm</button>
            <div class="dropdown filter-section--dropdown" data-role="dropdown" id="filter-section-dropdown">
                <button class="button button_dropdown filter-section--dropdown-toggle" role="combobox" data-role="dropdown-toggle" aria-controls="platform-tags-listbox" aria-haspopup="listbox" aria-expanded="false" aria-label="Toggle source sets"></button>
                <ul role="listbox" id="platform-tags-listbox" class="dropdown--list" data-role="dropdown-listbox" aria-label="Target filter">
                    <div class="dropdown--header"><span>Target filter</span>
                        <button class="button" data-role="dropdown-toggle" aria-label="Close target filter">
                            <i class="ui-kit-icon ui-kit-icon_cross"></i>
                        </button>
                    </div>
                        <li role="option" class="dropdown--option platform-selector-option jvm-like" tabindex="0">
                            <label class="checkbox">
                                <input type="checkbox" class="checkbox--input" id=":payments-core/main" data-filter=":payments-core/main">
                                <span class="checkbox--icon"></span>
                                androidJvm
                            </label>
                        </li>
                </ul>
                <div class="dropdown--overlay"></div>
            </div>
        </ul>
            <button class="navigation-controls--btn navigation-controls--btn_theme" id="theme-toggle-button" type="button">Switch theme
            </button>
            <div class="navigation-controls--btn navigation-controls--btn_search" id="searchBar" role="button">Search in
                API
            </div>
        </div>
    </header>
    <div id="container">
        <nav id="leftColumn" class="sidebar" data-item-type="SECTION" data-item-config="{&quot;defaultSize&quot;: 280, &quot;minSize&quot;: 200, &quot;maxSize&quot;: 400}">
            <a class="toc--skip-link" href="#main">Skip to content</a>
            <div class="dropdown theme-dark_mobile" data-role="dropdown" id="toc-dropdown">
                <ul role="listbox" id="toc-listbox" class="dropdown--list dropdown--list_toc-list" data-role="dropdown-listbox" aria-label="Table of contents">
                    <div class="dropdown--header">
                            <span>
                                    stripe-android
                            </span>
                        <button class="button" data-role="dropdown-toggle" aria-label="Close table of contents">
                            <i class="ui-kit-icon ui-kit-icon_cross"></i>
                        </button>
                    </div>
                    <div class="sidebar--inner" id="sideMenu"></div>
                </ul>
                <div class="dropdown--overlay"></div>
            </div>
        </nav>
        <div id="resizer" class="resizer" data-item-type="BAR"></div>
        <div id="main" data-item-type="SECTION" role="main">
<div class="main-content" data-page-type="classlike" id="content" pageids="payments-core::com.stripe.android.model/PaymentMethod.Builder///PointingToDeclaration//1599408092">
  <div class="breadcrumbs"><a href="../../../index.html">payments-core</a><span class="delimiter">/</span><a href="../../index.html">com.stripe.android.model</a><span class="delimiter">/</span><a href="../index.html">PaymentMethod</a><span class="delimiter">/</span><span class="current">Builder</span></div>
  <div class="cover ">
    <h1 class="cover"><span><span>Builder</span></span></h1>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">class </span><a href="index.html">Builder</a></div></div></div>
  </div>
  <div class="tabbedcontent">
    <div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="CONSTRUCTOR,TYPE,PROPERTY,FUNCTION">Members</button></div>
    <div class="tabs-section-body">
      <div data-togglable="CONSTRUCTOR">
        <h2 class="tableheader">Constructors</h2>
        <div class="table"><a data-name="-699394762%2FConstructors%2F1599408092" anchor-label="Builder" id="-699394762%2FConstructors%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="CONSTRUCTOR" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="-builder.html"><span><span>Builder</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-699394762%2FConstructors%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">constructor</span><span class="token punctuation">(</span><span class="token punctuation">)</span></div></div></div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div data-togglable="FUNCTION">
        <h2 class="tableheader">Functions</h2>
        <div class="table"><a data-name="341152419%2FFunctions%2F1599408092" anchor-label="build" id="341152419%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="build.html"><span><span>build</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="341152419%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="build.html"><span class="token function">build</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html">PaymentMethod</a></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1099813711%2FFunctions%2F1599408092" anchor-label="setAllowRedisplay" id="1099813711%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="set-allow-redisplay.html"><span>set</span><wbr><span>Allow</span><wbr><span><span>Redisplay</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1099813711%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="set-allow-redisplay.html"><span class="token function">setAllowRedisplay</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">allowRedisplay<span class="token operator">: </span><a href="../-allow-redisplay/index.html">PaymentMethod.AllowRedisplay</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">PaymentMethod.Builder</a></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-183534813%2FFunctions%2F1599408092" anchor-label="setAuBecsDebit" id="-183534813%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="set-au-becs-debit.html"><span>set</span><wbr><span>Au</span><wbr><span>Becs</span><wbr><span><span>Debit</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-183534813%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="set-au-becs-debit.html"><span class="token function">setAuBecsDebit</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">auBecsDebit<span class="token operator">: </span><a href="../-au-becs-debit/index.html">PaymentMethod.AuBecsDebit</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">PaymentMethod.Builder</a></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1293618861%2FFunctions%2F1599408092" anchor-label="setBacsDebit" id="-1293618861%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="set-bacs-debit.html"><span>set</span><wbr><span>Bacs</span><wbr><span><span>Debit</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1293618861%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="set-bacs-debit.html"><span class="token function">setBacsDebit</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">bacsDebit<span class="token operator">: </span><a href="../-bacs-debit/index.html">PaymentMethod.BacsDebit</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">PaymentMethod.Builder</a></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1450179119%2FFunctions%2F1599408092" anchor-label="setBillingDetails" id="1450179119%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="set-billing-details.html"><span>set</span><wbr><span>Billing</span><wbr><span><span>Details</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1450179119%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="set-billing-details.html"><span class="token function">setBillingDetails</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">billingDetails<span class="token operator">: </span><a href="../-billing-details/index.html">PaymentMethod.BillingDetails</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">PaymentMethod.Builder</a></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="259196623%2FFunctions%2F1599408092" anchor-label="setCard" id="259196623%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="set-card.html"><span>set</span><wbr><span><span>Card</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="259196623%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="set-card.html"><span class="token function">setCard</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">card<span class="token operator">: </span><a href="../-card/index.html">PaymentMethod.Card</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">PaymentMethod.Builder</a></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1541290351%2FFunctions%2F1599408092" anchor-label="setCardPresent" id="1541290351%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="set-card-present.html"><span>set</span><wbr><span>Card</span><wbr><span><span>Present</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1541290351%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="set-card-present.html"><span class="token function">setCardPresent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">cardPresent<span class="token operator">: </span><a href="../-card-present/index.html">PaymentMethod.CardPresent</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">PaymentMethod.Builder</a></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-554269535%2FFunctions%2F1599408092" anchor-label="setCode" id="-554269535%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="set-code.html"><span>set</span><wbr><span><span>Code</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-554269535%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="set-code.html"><span class="token function">setCode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">code<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">PaymentMethod.Builder</a></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="530999181%2FFunctions%2F1599408092" anchor-label="setCreated" id="530999181%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="set-created.html"><span>set</span><wbr><span><span>Created</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="530999181%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="set-created.html"><span class="token function">setCreated</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">created<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html">Long</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">PaymentMethod.Builder</a></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="385939957%2FFunctions%2F1599408092" anchor-label="setCustomerId" id="385939957%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="set-customer-id.html"><span>set</span><wbr><span>Customer</span><wbr><span><span>Id</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="385939957%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="set-customer-id.html"><span class="token function">setCustomerId</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">customerId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">PaymentMethod.Builder</a></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="342693301%2FFunctions%2F1599408092" anchor-label="setFpx" id="342693301%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="set-fpx.html"><span>set</span><wbr><span><span>Fpx</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="342693301%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="set-fpx.html"><span class="token function">setFpx</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">fpx<span class="token operator">: </span><a href="../-fpx/index.html">PaymentMethod.Fpx</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">PaymentMethod.Builder</a></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-203335117%2FFunctions%2F1599408092" anchor-label="setId" id="-203335117%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="set-id.html"><span>set</span><wbr><span><span>Id</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-203335117%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="set-id.html"><span class="token function">setId</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">id<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">PaymentMethod.Builder</a></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-26400637%2FFunctions%2F1599408092" anchor-label="setIdeal" id="-26400637%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="set-ideal.html"><span>set</span><wbr><span><span>Ideal</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-26400637%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="set-ideal.html"><span class="token function">setIdeal</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">ideal<span class="token operator">: </span><a href="../-ideal/index.html">PaymentMethod.Ideal</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">PaymentMethod.Builder</a></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-930088059%2FFunctions%2F1599408092" anchor-label="setLiveMode" id="-930088059%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="set-live-mode.html"><span>set</span><wbr><span>Live</span><wbr><span><span>Mode</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-930088059%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="set-live-mode.html"><span class="token function">setLiveMode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">liveMode<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html">Boolean</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">PaymentMethod.Builder</a></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-238813613%2FFunctions%2F1599408092" anchor-label="setMetadata" id="-238813613%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="set-metadata.html"><span>set</span><wbr><span><span>Metadata</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-238813613%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="set-metadata.html"><span class="token function">setMetadata</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">metadata<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-map/index.html">Map</a><span class="token operator">&lt;</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">PaymentMethod.Builder</a></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1713426159%2FFunctions%2F1599408092" anchor-label="setNetbanking" id="1713426159%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="set-netbanking.html"><span>set</span><wbr><span><span>Netbanking</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1713426159%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="set-netbanking.html"><span class="token function">setNetbanking</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">netbanking<span class="token operator">: </span><a href="../-netbanking/index.html">PaymentMethod.Netbanking</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">PaymentMethod.Builder</a></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-676144725%2FFunctions%2F1599408092" anchor-label="setSepaDebit" id="-676144725%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="set-sepa-debit.html"><span>set</span><wbr><span>Sepa</span><wbr><span><span>Debit</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-676144725%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="set-sepa-debit.html"><span class="token function">setSepaDebit</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">sepaDebit<span class="token operator">: </span><a href="../-sepa-debit/index.html">PaymentMethod.SepaDebit</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">PaymentMethod.Builder</a></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-826277105%2FFunctions%2F1599408092" anchor-label="setType" id="-826277105%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="set-type.html"><span>set</span><wbr><span><span>Type</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-826277105%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="set-type.html"><span class="token function">setType</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">type<span class="token operator">: </span><a href="../-type/index.html">PaymentMethod.Type</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">PaymentMethod.Builder</a></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-585062859%2FFunctions%2F1599408092" anchor-label="setUpi" id="-585062859%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="set-upi.html"><span>set</span><wbr><span><span>Upi</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-585062859%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="set-upi.html"><span class="token function">setUpi</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">upi<span class="token operator">: </span><a href="../-upi/index.html">PaymentMethod.Upi</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">PaymentMethod.Builder</a></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="918741311%2FFunctions%2F1599408092" anchor-label="setUSBankAccount" id="918741311%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="set-u-s-bank-account.html"><span>set</span><wbr><span>USBank</span><wbr><span><span>Account</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="918741311%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="set-u-s-bank-account.html"><span class="token function">setUSBankAccount</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">usBankAccount<span class="token operator">: </span><a href="../-u-s-bank-account/index.html">PaymentMethod.USBankAccount</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">PaymentMethod.Builder</a></div></div></div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
    <div class="footer">
        <div class="footer--container">
            <a href="#content" id="go-to-top-link" class="footer--button footer--button_go-to-top"></a>
            <div class="footer--content">
                <div>
                    <span>Generated by </span>
                    <a class="footer--link footer--link_external" href="https://github.com/Kotlin/dokka">
                        Dokka
                    </a>
                    <div>© 2025 Copyright</div>
                </div>
            </div>
        </div>
    </div>
        </div>
    </div>
</div>
</body>
</html>